<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/5/14 0014
  Time: 17:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/include/header.jsp" %>
<html>
<head>
    <title>订单列表</title>
    <link rel="stylesheet" href="${Layui}/css/layui.css" media="all">
    <script src="${jquery}/jquery-3.1.1.js" charset="utf-8"></script>
    <script src="${Layui}/layui.js" charset="utf-8"></script>
    <script src="${Js}/admin/fee.js" charset="utf-8"></script>
</head>

<body>
<form class="layui-form ">
    <div class="layui-form-item">
        <label class="layui-form-label">费用号</label>
        <div class="layui-input-block">
            <input type="text" disabled value="${upcrofee.id}" name="id" lay-verify="title" autocomplete="off"
                   placeholder="请输入标题" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">名称</label>
        <div class="layui-input-block">
            <input type="text" value="${upcrofee.name}" name="name"
                   lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">费用类型</label>
            <div class="layui-input-inline">
                <select name="upcrofeetype">
                    <option value="${upcrofee.type}">${SysDict['fee_type'][upcrofee.type]}</option>
                    <c:forEach items="${SysDict['fee_type']}" var="type">
                        <c:if test="${upcrofee.type != type.key}">
                            <option value="${type.key}">${type.value}</option>
                        </c:if>
                    </c:forEach>
                </select>
            </div>
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">费用</label>
        <div class="layui-input-block">
            <input type="text" value="${upcrofee.cost}" name="cost" lay-verify="required" id="cost"
                   autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <a class="layui-btn" lay-submit lay-filter="updatefee">立即提交</a>
        </div>
    </div>
</form>
</body>
</html>